package com.meilai.project.controller.web.menu.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.meilai.project.controller.web.menu.dto.MenuListDTO;
import com.meilai.project.controller.web.menu.mapper.MenuMapper;
import com.meilai.project.controller.web.menu.service.MenuService;
import com.meilai.project.controller.web.menu.entity.MenuEntity;
import com.meilai.project.controller.web.menu.vo.MenuVO;
import com.meilai.project.entity.TreeSelect;
import com.meilai.project.vo.system.RouterVO;
import org.springframework.stereotype.Service;

import java.util.List;

//@Service
public class MenuServiceImpl extends ServiceImpl<MenuMapper, MenuEntity> implements MenuService {

    @Override
    public List<MenuVO> getRoutersByUserId(Long userId) {
        return null;
    }

    @Override
    public List<MenuEntity> queryListByPid(Long pid) {
        return null;
    }

    @Override
    public List<MenuEntity> listMenu(MenuListDTO dto) {
        return null;
    }

    @Override
    public List<MenuEntity> listMenuByUserId(MenuListDTO dto, Long userId) {
        return null;
    }

    @Override
    public List<MenuEntity> listMenuTreeByUserId(Long userId) {
        return null;
    }

    @Override
    public List<MenuEntity> listMenuByRoleId(Long roleId) {
        return null;
    }

    @Override
    public List<RouterVO> buildMenus(List<MenuEntity> menus) {
        return null;
    }

    @Override
    public List<TreeSelect> buildMenuTree(List<MenuEntity> menus) {
        return null;
    }

    @Override
    public MenuEntity getMenuById(Long menuId) {
        return null;
    }

    @Override
    public int addMenu(MenuEntity menu) {
        return 0;
    }

    @Override
    public int updateMenu(MenuEntity menu) {
        return 0;
    }

    @Override
    public boolean deleteMenu(Long id) {
        return true;
    }

    @Override
    public boolean checkMenuNameUnique(MenuEntity menu) {
        return false;
    }

    @Override
    public boolean hasChildByMenuId(Long menuId) {
        return false;
    }

    @Override
    public boolean checkMenuExistRole(Long menuId) {
        return false;
    }
}
